package com.msun.monitor.controller;

import com.msun.monitor.service.IAlertService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/receiver")
@RestController
public class AlertReceiverController {

    @Resource
    IAlertService IAlertService;

    @GetMapping
    public String insert(@RequestBody String text) throws InstantiationException, IllegalAccessException {



        return "success";
    }
}
